#ifndef _DEFS_H_
#define _DEFS_H_

#define MIN(a, b) ( ((a) < (b)) ? (a) : (b) )

typedef enum difference_class {EZ, EN1, EN2, CH, NC} difference_class;

typedef struct class_count {
  unsigned int n_EZ, n_EN1, n_EN2, n_CH, n_NC, N, n_C;
  unsigned int n_CHX; //differences in (EN2 + CH) valued 1 or -2
} class_count;

#endif
